package smoothcraft.EvenListeners;

import java.io.File;

import org.bukkit.configuration.file.YamlConfiguration;

public class JoinEvent{
	private  String name;
	private static File file;
	private static YamlConfiguration yml; 
	public JoinEvent(String Name) {
		this.name = Name;
	}
	public void PlayerInit() {
		file = new File("./plugins/smoothcraft/user/", name + ".yml");
		yml = YamlConfiguration.loadConfiguration(file);
		yml.createSection("home");		
	}
}
